export default {
  inserted: function (el) {
    el.addEventListener("input", e => {
      el.value= el.value.match(/\d+(\.\d{0,10})?/) ? el.value.match(/\d+(\.\d{0,10})?/)[0] : ''
    })
  }
}